<!DOCTYPE html>



  


<html class="theme-next gemini use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css" />


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo, NexT" />





  <link rel="alternate" href="/atom.xml" title="耿瑞阳的博客" type="application/atom+xml" />






<meta name="description" content="http://blog.csdn.net/nmgrd/article/details/54608702http://blog.csdn.net/ashan_li/article/list 通过源码分析MyBatis的缓存http://www.cnblogs.com/fangjian0423/p/mybatis-cache.html Mybatis解析动态sql原理分析http://www.cnbl">
<meta property="og:type" content="article">
<meta property="og:title" content="Mybatis源码解析优秀博文">
<meta property="og:url" content="https://Gengry.github.io/2018/01/30/Mybatis源码解析优秀博文/index.html">
<meta property="og:site_name" content="耿瑞阳的博客">
<meta property="og:description" content="http://blog.csdn.net/nmgrd/article/details/54608702http://blog.csdn.net/ashan_li/article/list 通过源码分析MyBatis的缓存http://www.cnblogs.com/fangjian0423/p/mybatis-cache.html Mybatis解析动态sql原理分析http://www.cnbl">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2018-02-06T05:14:26.917Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Mybatis源码解析优秀博文">
<meta name="twitter:description" content="http://blog.csdn.net/nmgrd/article/details/54608702http://blog.csdn.net/ashan_li/article/list 通过源码分析MyBatis的缓存http://www.cnblogs.com/fangjian0423/p/mybatis-cache.html Mybatis解析动态sql原理分析http://www.cnbl">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Gemini',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://Gengry.github.io/2018/01/30/Mybatis源码解析优秀博文/"/>





  <title>Mybatis源码解析优秀博文 | 耿瑞阳的博客</title>
  








</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">耿瑞阳的博客</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="https://Gengry.github.io/2018/01/30/Mybatis源码解析优秀博文/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Geng">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="耿瑞阳的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">Mybatis源码解析优秀博文</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2018-01-30T15:06:48+08:00">
                2018-01-30
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/mybatis/" itemprop="url" rel="index">
                    <span itemprop="name">mybatis</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <p><a href="http://blog.csdn.net/nmgrd/article/details/54608702" target="_blank" rel="noopener">http://blog.csdn.net/nmgrd/article/details/54608702</a><br><a href="http://blog.csdn.net/ashan_li/article/list" target="_blank" rel="noopener">http://blog.csdn.net/ashan_li/article/list</a></p>
<p>通过源码分析MyBatis的缓存<br><a href="http://www.cnblogs.com/fangjian0423/p/mybatis-cache.html" target="_blank" rel="noopener">http://www.cnblogs.com/fangjian0423/p/mybatis-cache.html</a></p>
<p>Mybatis解析动态sql原理分析<br><a href="http://www.cnblogs.com/fangjian0423/p/mybaits-dynamic-sql-analysis.html" target="_blank" rel="noopener">http://www.cnblogs.com/fangjian0423/p/mybaits-dynamic-sql-analysis.html</a></p>
<p>MyBatis拦截器原理探究<br><a href="http://www.cnblogs.com/fangjian0423/p/mybatis-interceptor.html" target="_blank" rel="noopener">http://www.cnblogs.com/fangjian0423/p/mybatis-interceptor.html</a><br><a id="more"></a></p>
<p>myBatis源码之Configuration<br><a href="http://blog.csdn.net/ashan_li/article/details/50379458" target="_blank" rel="noopener">http://blog.csdn.net/ashan_li/article/details/50379458</a></p>
<p>MyBatis架构设计及源代码分析系列(一):MyBatis架构<br><a href="http://www.cnblogs.com/mengheng/p/3739610.html" target="_blank" rel="noopener">http://www.cnblogs.com/mengheng/p/3739610.html</a></p>
<p>深入理解mybatis原理》 MyBatis的架构设计以及实例分析</p>
<p>《深入理解mybatis原理》 MyBatis事务管理机制</p>
<p>Mybatis3.3.x技术内幕（一）：SqlSession和SqlSessionFactory列传</p>
<p>Mybatis3.3.x技术内幕（二）：动态代理之投鞭断流（自动映射器Mapper的底层实现原理）</p>
<p>初看Mybatis 源码 （三） SQL是怎么执行的</p>
<p>深入了解MyBatis参数</p>
<p>MyBatis直接执行SQL的工具SqlMapper</p>
<p>教你如何开发Mybatis的通用Mapper</p>
<p>偶尔记一下没事看看 - MyBatis工具 </p>
<p>Mybatis解析动态sql原理分析 - format</p>
<p>mybatis源码阅读心得<br><a href="http://xpenxpen.iteye.com/blog/1508749" target="_blank" rel="noopener">http://xpenxpen.iteye.com/blog/1508749</a></p>
<p>Mybatis源代码分析之parsing包<br><a href="http://www.cnblogs.com/sunzhenchao/p/3161093.html" target="_blank" rel="noopener">http://www.cnblogs.com/sunzhenchao/p/3161093.html</a></p>
<p>Mybatis之reflection包源代码解析（一）<br><a href="http://www.cnblogs.com/sunzhenchao/p/3328053.html" target="_blank" rel="noopener">http://www.cnblogs.com/sunzhenchao/p/3328053.html</a></p>
<p>mybatis源代码分析之binding包<br><a href="http://www.cnblogs.com/sunzhenchao/archive/2013/05/13/3075854.html" target="_blank" rel="noopener">http://www.cnblogs.com/sunzhenchao/archive/2013/05/13/3075854.html</a></p>
<p>Mybatis源码分析之Mapper执行SQL过程（三）<br><a href="http://www.ccblog.cn/88.htm" target="_blank" rel="noopener">http://www.ccblog.cn/88.htm</a></p>
<p>Mybatis源码分析之Cache一级缓存原理（四）<br><a href="http://www.ccblog.cn/89.htm" target="_blank" rel="noopener">http://www.ccblog.cn/89.htm</a></p>
<p>Mybatis源码分析之Cache二级缓存原理 （五）<br><a href="http://www.ccblog.cn/90.htm" target="_blank" rel="noopener">http://www.ccblog.cn/90.htm</a></p>
<p>Mybatis插件原理和PageHelper结合实战分页插件（七）<br><a href="http://www.ccblog.cn/92.htm" target="_blank" rel="noopener">http://www.ccblog.cn/92.htm</a></p>
<p>如何细粒度地控制你的MyBatis二级缓存(mybatis-enhanced-cache插件实现)<br><a href="http://www.tuicool.com/articles/jqqMbaj" target="_blank" rel="noopener">http://www.tuicool.com/articles/jqqMbaj</a></p>
<p><a href="http://blog.csdn.net/luanlouis/article/details/41800511?utm_source=tuicool&amp;utm_medium=referral" target="_blank" rel="noopener">http://blog.csdn.net/luanlouis/article/details/41800511?utm_source=tuicool&amp;utm_medium=referral</a></p>
<p>MyBatis缓存源码分析<br><a href="http://www.codeceo.com/article/mybatis-cache.html" target="_blank" rel="noopener">http://www.codeceo.com/article/mybatis-cache.html</a></p>
<p>MyBatis源码分析——Cache接口以及实现<br><a href="http://www.cnblogs.com/jabnih/p/5705640.html" target="_blank" rel="noopener">http://www.cnblogs.com/jabnih/p/5705640.html</a></p>
<p>MyBatis源码分析——Plugin原理<br><a href="http://www.cnblogs.com/jabnih/p/5656194.html" target="_blank" rel="noopener">http://www.cnblogs.com/jabnih/p/5656194.html</a></p>
<p>MyBatis源码分析（1）——整体依赖关系图<br><a href="http://www.cnblogs.com/jabnih/p/5656182.html" target="_blank" rel="noopener">http://www.cnblogs.com/jabnih/p/5656182.html</a></p>
<p>深入浅出Mybatis-改造Cache<br><a href="http://blog.csdn.net/keda8997110/article/details/20908425" target="_blank" rel="noopener">http://blog.csdn.net/keda8997110/article/details/20908425</a><br><a href="http://blog.csdn.net/keda8997110/article/details/20908425" target="_blank" rel="noopener">http://blog.csdn.net/keda8997110/article/details/20908425</a></p>
<p>MyBatis缓存源码分析<br><a href="http://www.codeceo.com/article/mybatis-cache.html" target="_blank" rel="noopener">http://www.codeceo.com/article/mybatis-cache.html</a><br><a href="http://www.codeceo.com/article/mybatis-cache.html" target="_blank" rel="noopener">http://www.codeceo.com/article/mybatis-cache.html</a></p>
<p>Mybatis增强型注解简化SQL语句<br><a href="http://blog.csdn.net/ExcellentYuXiao/article/details/53262928" target="_blank" rel="noopener">http://blog.csdn.net/ExcellentYuXiao/article/details/53262928</a></p>
<p>Mybatis增强型注解简化SQL语句<br><a href="http://blog.csdn.net/ExcellentYuXiao/article/details/53262928" target="_blank" rel="noopener">http://blog.csdn.net/ExcellentYuXiao/article/details/53262928</a></p>
<p>Mybatis3源码分析(11)-Sql解析执行-BoundSql的加载-1<br><a href="http://blog.csdn.net/ashan_li/article/details/50370035" target="_blank" rel="noopener">http://blog.csdn.net/ashan_li/article/details/50370035</a></p>
<p>Mybatis解析动态sql原理分析<br><a href="http://www.cnblogs.com/fangjian0423/p/mybaits-dynamic-sql-analysis.html" target="_blank" rel="noopener">http://www.cnblogs.com/fangjian0423/p/mybaits-dynamic-sql-analysis.html</a></p>
<p>通过源码分析MyBatis的缓存<br><a href="http://www.cnblogs.com/fangjian0423/p/mybatis-cache.html" target="_blank" rel="noopener">http://www.cnblogs.com/fangjian0423/p/mybatis-cache.html</a></p>
<p>MyBatis拦截器原理探究<br><a href="http://www.cnblogs.com/fangjian0423/p/mybatis-interceptor.html" target="_blank" rel="noopener">http://www.cnblogs.com/fangjian0423/p/mybatis-interceptor.html</a></p>
<p>Mybatis 中$与#的区别<br><a href="http://www.cnblogs.com/hellokitty1/p/6007801.html" target="_blank" rel="noopener">http://www.cnblogs.com/hellokitty1/p/6007801.html</a></p>
<p>csdn: pfnie<br>深入理解mybatis原理(一)》 Mybatis初始化机制详解<br><a href="http://blog.csdn.net/pfnie/article/details/51491934" target="_blank" rel="noopener">http://blog.csdn.net/pfnie/article/details/51491934</a></p>
<p>深入了解mybatis参数<br><a href="http://www.bubuko.com/infodetail-1219821.html" target="_blank" rel="noopener">http://www.bubuko.com/infodetail-1219821.html</a></p>
<p>mybatis之 # 与 $ 区别以及 sql 预编译<br><a href="http://blog.csdn.net/wo541075754/article/details/54292751" target="_blank" rel="noopener">http://blog.csdn.net/wo541075754/article/details/54292751</a></p>
<p><a href="http://www.cnblogs.com/slwenyi/p/6393808.html" target="_blank" rel="noopener">http://www.cnblogs.com/slwenyi/p/6393808.html</a></p>
<p>ConcurrentHashMap的锁分段技术<br><a href="http://blog.csdn.net/yansong_8686/article/details/50664351" target="_blank" rel="noopener">http://blog.csdn.net/yansong_8686/article/details/50664351</a></p>
<p>Zookeeper(2)-Zookeeper可以干什么<br><a href="http://blog.csdn.net/zmx729618/article/details/52709942" target="_blank" rel="noopener">http://blog.csdn.net/zmx729618/article/details/52709942</a></p>
<p><a href="http://www.cnblogs.com/slwenyi/p/6393808.html" target="_blank" rel="noopener">http://www.cnblogs.com/slwenyi/p/6393808.html</a></p>
<p><a href="http://blog.csdn.net/yansong_8686/article/details/50664351" target="_blank" rel="noopener">http://blog.csdn.net/yansong_8686/article/details/50664351</a></p>
<p><a href="http://blog.csdn.net/qq_26562641/article/details/51035189" target="_blank" rel="noopener">http://blog.csdn.net/qq_26562641/article/details/51035189</a></p>
<p><a href="http://uule.iteye.com/blog/1513976" target="_blank" rel="noopener">http://uule.iteye.com/blog/1513976</a></p>
<p><a href="http://blog.csdn.net/zmx729618/article/details/52709942" target="_blank" rel="noopener">http://blog.csdn.net/zmx729618/article/details/52709942</a></p>
<p>AbstractQueuedSynchronizer原理及代码分析<br><a href="http://www.cnblogs.com/noahsark/p/sbstract_queued_synchronizer.html" target="_blank" rel="noopener">http://www.cnblogs.com/noahsark/p/sbstract_queued_synchronizer.html</a></p>
<blockquote class="blockquote-center">今天最好的表现，是明天最低的要求。</blockquote>
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2018/01/29/国内开源镜像站/" rel="next" title="国内开源镜像站">
                <i class="fa fa-chevron-left"></i> 国内开源镜像站
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2018/01/30/生成订单号/" rel="prev" title="生成订单号">
                生成订单号 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      

      <section class="site-overview-wrap sidebar-panel sidebar-panel-active">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <p class="site-author-name" itemprop="name">Geng</p>
              <p class="site-description motion-element" itemprop="description">今天最好的表现，是明天最低的要求。</p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/">
              
                  <span class="site-state-item-count">25</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/categories/index.html">
                  <span class="site-state-item-count">13</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/tags/index.html">
                  <span class="site-state-item-count">10</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          
            <div class="feed-link motion-element">
              <a href="/atom.xml" rel="alternate">
                <i class="fa fa-rss"></i>
                RSS
              </a>
            </div>
          

          

          
          

          
          

          

        </div>
      </section>

      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2018</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Geng</span>

  
</div>


  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Gemini</a> v5.1.4</div>




        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.4"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  

  

  

</body>
</html>
